package edu.pku.sei.mdabase.basictypes;


public class BooleanType extends PrimitiveType {

	public String getName() {
		return "Boolean";
	}

	public void setName(String name) {
	}

	@Override
	public Object toValue(String text) {
		Boolean v = Boolean.FALSE;
		
		try {
			v = Boolean.parseBoolean(text);
		} catch (Exception e) {
		}
		return v;
	}

}
